#include ../makefile.in
CC = gcc
CFLAGS = -O2 -g

WMATCH = wmatch.c pairs.c pointer.c term.c unpairs.c readgraph.c

all : wmatch.o glib.o

#../wmatch: main.o wmatch.o glib.o
#	$(CC) -o $@ main.o wmatch.o glib.o -lm

.c.o      :
	$(CC) $(CFLAGS) -c $*.c

$(WMATCH): match.defs
glib.c : graphtypes.h
wmatch.c : match.defs graphtypes.h pairs.c pointer.c readgraph.c term.c unpairs.c

#install   : depend all

#depend    :

clean     :
	rm -rf *.o